package com.lss.cloud;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 2024/3/13-17:15
 * 功能:
 */
@SpringBootApplication
@tk.mybatis.spring.annotation.MapperScan("com.lss.cloud.mapper")
//@MapperScan("com.lss.cloud.mapper") 逆天bug
@EnableTransactionManagement
//关于consul 需要通过注解进行启动
@EnableDiscoveryClient

public class Main8001 {
    public static void main(String[] args) {
            SpringApplication.run(Main8001.class, args);
            System.out.println("Hello world!");
    }
}